package org.zfes.snowier.cloud.zbss.widget.act.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.widget.act.dto.ActSubjectCreateDto;
import org.zfes.snowier.cloud.zbss.widget.act.model.ActSubject;
public interface IActSubjectService{

	 Optional<ActSubject> loadActSubjectById(Long id);
	 Optional<ActSubject> loadActSubjectByPinNum(String pinNum);
	 String createActSubject(ActSubjectCreateDto actSubjectDto,Long userId);
	 
	 String startActSubject(Long id);
	 
	 void endActSubject(Long id);
	 
	 void updateActSubject(Long subjectId,ActSubjectCreateDto actSubjectDto);

	 DataSet loadActSubjectDataSet(Map<String, Object> params);

 	 void setActSubjectStatus(Long id, Byte status);

 	

 	
}